<?php

namespace Xin\VerifyCode\Facades;

use think\Facade;
use Xin\VerifyCode\VerifyCodeManager;

use think\facade\Route;
use Xin\Plugin\ThinkPHP\PluginDispatch;
use Xin\Plugin\ThinkPHP\Url;

if (class_exists(\Illuminate\Support\Facades\Facade::class)) {
	class Facade extends \Illuminate\Support\Facades\Facade
	{

	}
} elseif (class_exists(\think\Facade::class)) {
	class Facade extends \think\Facade
	{

	}
}

/**
 * @method string make($identifier, $type = null, $options = []) static
 * @method bool verify($identifier, $code, $type = null) static
 */
class VerifyCode extends Facade
{

	/**
	 * 获取当前Facade对应类名（或者已经绑定的容器对象标识）
	 *
	 * @access protected
	 * @return string
	 */
	protected static function getFacadeClass()
	{
		return 'verify_code';
	}


	/**
	 * 获取组件的注册名称。
	 *
	 * @return string
	 */
	protected static function getFacadeAccessor()
	{
		return 'verify_code';
	}

}
